package com.itrus.contract.extension.shardinsphere.enumeration;

import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum DataBaseTypeEnum {

    MYSQL(1,"mysql","mysql",DbType.MYSQL),
    ORACLE(2,"oracle","oracle",DbType.ORACLE),
    DA_MENG(3,"dm","达梦",DbType.DM),

    ;

    @EnumValue
    private int index;
    private String dbName;
    private String description;
    private DbType dbType;


}
